package com.wynn.controller;


import com.wynn.pojo.Result;
import com.wynn.serviceFeign.ProductLineClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("productLine")
public class ProductLineController {

    @Autowired
    private ProductLineClient productLineClient;


    @GetMapping("selectAll")
    public Result selectAll(){

        return productLineClient.selectAll();
    }

}
